﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<link rel="Stylesheet" type="text/css" media="screen" href="Screen.css" />
  <title>STP_StartBridge</title>
</head>
<body>
	<h3>STP_StartBridge</h3>
	<hr />
<pre>
void STP_StartBridge
(
    BRIDGE* bridge,
    unsigned long timestampMilliseconds
);
</pre>
	<h4>
		Summary</h4>
	<p>Starts a bridge.
		</p>
	<h4>
		Parameters</h4>
	<dl>
		<dt>bridge</dt>
		<dd>Pointer to a BRIDGE object, obtained from <a href="STP_CreateBridge.html">
			STP_CreateBridge</a>.</dd>
		<dt>timestampMilliseconds</dt>
		<dd>A value representing the number of milliseconds elapsed since firmware startup. Used 
			only for the debug log. </dd>
	</dl>
	<h4>
		Remarks</h4>
	<p>
		The 
		application must not call this function from within an STP callback.</p>
	<p>
		The 
		application must not call this function for already-started bridges.</p>
	<p>
		Before starting a bridge, the application must assign a MAC address to all the spanning 
		trees of that bridge.</p>

	<p>
			Execution of this function is a potentially lengthy process. 
			It may call various callbacks multiple times.</p>

</body>
</html>
